﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MovieTheaterApp.DataModels
{
    public class Movie
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Poster { get; set; }
        public Rating Rating { get; set; }
        public virtual List<Review> Reviews { get; set; }
        public virtual List<ActorMovie> ActorMovies { get; set; }
        public void setProps(Movie movie)
        {
            this.Title = movie.Title;
            this.Poster = movie.Poster;
            this.Rating = movie.Rating;
        }
    }
}
